package cn.com.blueInfo.bpm.system.entity;

import cn.com.blueInfo.bpm.common.entity.BaseEntity;
import cn.com.blueInfo.bpm.system.enums.DictType;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 枚举表
 * @author suxch
 * @since 2025-08-24 01:37:55
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "mc_sys_dict", autoResultMap = true)
@Schema(description = "枚举表")
public class Dict extends BaseEntity {

    /** ID */
    @TableId(type = IdType.INPUT)
    @Schema(description = "ID")
    private Long id;
    /** 字典编码 */
    @Schema(description = "字典编码")
    private String dictCode;
    /** 字典名称 */
    @Schema(description = "字典名称")
    private String dictName;
    /** 字典类型：1-系统内置（不可修改），2-业务自定义（可编辑） */
    @Schema(description = "字典类型：1-系统内置（不可修改），2-业务自定义（可编辑）")
    private DictType dictType;
    /** 字典说明 */
    @Schema(description = "字典说明")
    private String description;

}
